Configure Physical Router for Centralized Routing on Tenant VRF

You can configure a physical router for centralized routing.

About this task

Follow this procedure to configure a physical router for centralized routing.
Note

Note

  • Provide a list of border leaf IPs on which the centralized router (VRF) needs to be added. If a given fabric has only one BL pair and you have not provided any BL pair as centralized router, then the only available BL pair is used as centralized router by default.
  • Provide only one BL pair on which the centralized router (VRF) needs to be added.
  • VRF instantiation happens on the border leaf devices during the EPG (endpoint group) create or update operations.
  • You cannot provide leaf, spine, or super-spine IPs as the target device for centralized routing.
  • VRF (with centralized routing enabled) and its dependent L3 configuration (anycast-ip, local-ip, VRF static route, VRF static route bfd, router bgp static or dynamic peer, and router bgp peer-group) are instantiated only on the border leafs on which the parent VRF exists.
When a centralized routing is enabled for a given tenant VRF:
  1. Define a target border leaf device on which the VRF needs to be instantiated.

    The VRF instantiation happens only on those border leaf devices and not on any other leaf or border leaf devices.

  2. You do not need to provide a target border leaf device on which the anycast IP needs to be configured.

    The anycast IP is configured automatically on the border leaf devices on which the VRF is instantiated.

  3. Provide a border leaf IP (on which the VRF is instantiated) for the local IP configuration.
  4. Provide a border leaf IP (on which the VRF is instantiated) for the VRF SR (Static Route) and VRF SR-BFD (Static Route – BFD) configuration.
  5. Provide a border leaf IP (on which the VRF is instantiated) for the BGP static and dynamic peer configuration.
  6. Provide a border leaf IP (on which the VRF is instantiated) for the BGP peer-group configuration.

Procedure

  1. To configure physical routers for centralized routing on Tenant VRF, run the following command:
    efa tenant vrf create --name <vrf-name> --tenant <tenant-name> 
        --routing-type {centralized | distributed}
        --centralized-router <list-of-border-leaf-routers>

    Example

    efa tenant vrf create –-name VRF1 --tenant tenant1 
        --routing-type centralized --centralized-router BL1-IP,BL2-IP 
  2. Carve out of VRFs on the border-leaf pairs.

    Instantiate VRFs on the border-leaf devices based on the L3 scale requirements.

    Suppose the fabric has 100 VRFs with 4K anycast IP, then you can instantiate all 100 VRFs on a single border-leaf pair. If the L3 scale requirements are higher than the scale supported by a single border-leaf pair, then add additional border-leaf pair.